package com.leagsoft.emm.demo.util;

import android.app.Activity;
import android.widget.Toast;

public class ToastUtil {
    public static void show(Activity activity, String content) {
        activity.runOnUiThread(new Runnable() {
            @Override
            public void run() {
                Toast.makeText(activity, content, Toast.LENGTH_LONG).show();
            }
        });
    }
}
